import AbilityStage from '@ohos.app.ability.AbilityStage';
import Want from '@ohos.app.ability.Want';
export default class MyAbilityStage extends  AbilityStage{
  onAcceptWant(want: Want):string {
    console.log('onAcceptwant')
    if (want.abilityName === 'DocumentAbility') {

      // let rev :string = 'DocumentAbilityInstance_' + want.parameters.instanceKey
      // console.log(rev)

      return 'DocumentAbilityInstance_' + want.parameters.instanceKey
    }
    return ''
  }
}